export const tableComponentConfig = {
  removeButton: () =>
    import('@/common/views/baseComponent/tableComp/removeButton.vue'),
};

export const tableRenderConfig = {
  1: {
    title: '检验申请单号',
    dataIndex: 'checkTaskNo',
    width: 200,
  },
  2: {
    title: '数据来源',
    // dataIndex: 'setupSource',
    dataIndex: 'dataSourceType',
    width: 120,
  },
  3: {
    title: '供应商',
    dataIndex: 'mdsVendorName',
    width: 160,
  },
  4: {
    title: '物料编码',
    dataIndex: 'mdsItemCode',
    width: 120,
  },
  5: {
    title: '物料名称',
    dataIndex: 'mdsItemName',
    width: 120,
  },
  6: {
    title: '合格证号',
    dataIndex: 'facprtlotNo',
    width: 120,
  },
  7: {
    title: '牌号',
    dataIndex: 'marque',
    width: 120,
  },
  8: {
    title: '父型号',
    dataIndex: 'parentModelCode',
    width: 130,
  },
  9: {
    title: '规格',
    dataIndex: 'specs',
    width: 120,
  },
  10: {
    title: '技术协议',
    dataIndex: 'agreeementCode',
    width: 120,
  },
  11: {
    title: '技术条件版次',
    dataIndex: 'techConditionVersion',
    width: 150,
  },
  12: {
    title: '成品状态',
    dataIndex: 'itemStateName',
    width: 120,
  },
  13: {
    title: '到货日期',
    dataIndex: 'arrivalDate',
    width: 120,
  },
  14: {
    title: '是否带证',
    dataIndex: 'isHaveCredentialsName',
    width: 120,
  },
  15: {
    title: '齐套标志',
    dataIndex: 'pickupTotalFlagName',
    width: 120,
  },
  16: {
    title: '定试周期',
    dataIndex: 'fixedTestPeriod',
    width: 120,
  },
  17: {
    title: '最长保管期',
    dataIndex: 'maxStorageDate',
    width: 150,
  },
  18: {
    title: '有效保管期',
    dataIndex: 'validateDate',
    width: 150,
  },
  19: {
    title: '计量单位',
    dataIndex: 'invMdsUnitId',
    width: 120,
  },
  20: {
    title: '供方合格证号',
    dataIndex: 'recprtlotNo',
    width: 150,
  },
  21: {
    title: '炉号',
    dataIndex: 'stoveNo',
    width: 120,
  },
  22: {
    title: '批号',
    dataIndex: 'batchNo',
    width: 120,
  },
  23: {
    title: '件号',
    dataIndex: 'itemSerialNo',
    width: 120,
  },
  24: {
    title: '父型号件号',
    dataIndex: 'parentItemSerialNo',
    width: 120,
  },
  25: {
    title: '送检数量',
    dataIndex: 'checkQty',
    width: 120,
  },
  39: {
    title: '出厂日期',
    dataIndex: 'lfackoryDate',
    width: 120,
  },
  26: {
    title: '制造日期',
    dataIndex: 'manuDate',
    width: 120,
  },
  27: {
    title: '订单号',
    dataIndex: 'orderNo',
    width: 220,
  },
  28: {
    title: '项目号',
    dataIndex: 'projectCode',
    width: 120,
  },
  29: {
    title: '机型',
    dataIndex: 'materialName',
    width: 120,
  },
  30: {
    title: '检验方式',
    dataIndex: 'compTypeName',
    width: 120,
  },
  31: {
    title: '样品数量',
    dataIndex: 'sampleQty',
    width: 120,
  },
  32: {
    title: '试块数量',
    dataIndex: 'testBlocksQty',
    width: 120,
  },
  33: {
    title: '检验人',
    dataIndex: 'checkerUserId',
    width: 120,
  },
  34: {
    title: '验收申请人',
    dataIndex: 'creator',
    ellipsis: true,
    tooltip: true,
    width: 120,
  },
  35: {
    title: '验收申请时间',
    dataIndex: 'createTime',
    width: 150,
  },
  36: {
    title: '状态',
    dataIndex: 'statusName',
    width: 120,
  },
  37: {
    title: '保留单流水号',
    dataIndex: 'reserveNo',
    width: 150,
  },
  38: {
    title: '保留单号',
    dataIndex: 'iqsReserveId',
    width: 120,
  },
  40: {
    title: '油封期',
    dataIndex: 'sealDate',
    width: 120,
  },
  41: {
    title: '总寿命',
    dataIndex: 'lifetimeNum',
    width: 130,
  },
  42: {
    title: '首翻期',
    dataIndex: 'scanfFirstDate',
    width: 130,
  },
  43: {
    title: '返修日期',
    dataIndex: 'repairTime',
    width: 120,
  },
  44: {
    title: '使用期限',
    dataIndex: 'scanfUseDate',
    width: 130,
  },
  45: {
    title: '保证期',
    dataIndex: 'scanfSureDate',
    width: 120,
  },
  46: {
    title: '库存期',
    dataIndex: 'invDateNum',
    width: 120,
  },
  47: {
    title: '验收日期',
    dataIndex: 'acceptanceDate',
    width: 120,
  },
  48: {
    title: '封存日期',
    dataIndex: 'archiveDate',
    width: 120,
  },
  49: {
    title: '订单类型',
    dataIndex: 'orderTypeName',
    width: 120,
  },
  50: {
    title: '重量',
    dataIndex: 'weight',
    width: 120,
  },
  51: {
    title: '实物密级',
    dataIndex: 'materialSecretLevelName',
    width: 120,
  },
  52: {
    title: '到货类型',
    dataIndex: 'receiveTypeName',
    width: 120,
  },
  53: {
    title: '是否火工品',
    dataIndex: 'ynAmmunitionName',
    width: 120,
  },
  54: {
    title: '存放区域',
    dataIndex: 'mdsLocatorNo',
    width: 120,
  },
  55: {
    title: '存放组别',
    dataIndex: 'storageGrep',
    width: 120,
  },
  56: {
    title: '单件当量g',
    dataIndex: 'singleEquivalentWeight',
    width: 120,
  },
  57: {
    title: '合计当量g',
    dataIndex: 'totleEquivalentWeight',
    slotName: 'total',
    width: 120,
  },
  58: {
    title: '重要记事',
    dataIndex: 'importantNotes',
    width: 120,
  },
  59: {
    title: '需求来源',
    dataIndex: 'planSourceType',
    width: 120,
  },
  60: {
    title: '密级',
    // componentName: 'secretLevel',
    slotName: 'secretLevelName',
    dataIndex: 'secretLevel',
    width: 80,
  },
  61: {
    title: '到货尺寸',
    dataIndex: 'pmsReceiveSize',
    width: 120,
  },
  62: {
    title: '附加技术条件描述',
    dataIndex: 'aditnTechCodtDesc',
    width: 180,
  },
  63: {
    title: '厂外消耗数量（采购）',
    dataIndex: 'outFactoryLossQty',
    width: 180,
  },
  64: {
    title: '厂内消耗数量（库存）',
    dataIndex: 'inFactoryLossQty',
    width: 180,
  },
  65: {
    title: '理化件（库存）',
    dataIndex: 'physicochemicalQty',
    width: 150,
  },
  66: {
    title: '保管温度',
    dataIndex: 'storageTemperature',
    width: 120,
  },
  67: {
    title: '保密期限',
    dataIndex: 'secretPeriod',
    width: 120,
  },
  68: {
    title: '技术条件',
    dataIndex: 'techCondition',
    width: 120,
  },
  69: {
    title: '消耗数量',
    dataIndex: 'checkLossQty',
    width: 120,
  },
  70: {
    title: '零组价图号',
    dataIndex: 'drawingCode',
    width: 120,
  },
  71: {
    title: '图号版本',
    dataIndex: 'mdsItemVersionNo',
    width: 120,
  },
  72: {
    title: '工艺状态号',
    dataIndex: 'processStatusNo',
    width: 120,
  },
  73: {
    title: '业务类型',
    dataIndex: 'businessType',
    width: 120,
  },
  74: {
    title: '检验数量',
    dataIndex: 'totalTestQty',
    width: 120,
  },
  75: {
    title: '检验结论',
    dataIndex: 'checkResult',
    width: 120,
  },
  76: {
    title: '合格数量',
    dataIndex: 'qualifiedQty',
    width: 120,
  },
  77: {
    title: '不合格数量',
    dataIndex: 'unqualifiedQty',
    width: 120,
  },
  78: {
    title: '接收数量',
    dataIndex: 'receiveQty',
    width: 120,
  },
  79: {
    title: '库房',
    dataIndex: 'mdsInventoryId',
    width: 120,
  },
  // 80: {
  //   title: '故障件号',
  //   dataIndex: '80',
  //   width: 120,
  // },
  81: {
    title: '是否理化试验',
    dataIndex: 'isEntrust',
    width: 120,
  },
  82: {
    title: '是否无损检测',
    dataIndex: 'isLossless',
    width: 150,
  },
  83: {
    title: '重量单位',
    dataIndex: 'weightUnit',
    width: 120,
  },
  84: {
    title: '到货确认数量（库存）',
    dataIndex: 'invReceiveQty',
    width: 150,
  },
  85: {
    title: '基本计量单位',
    dataIndex: 'invMdsUnitIdName',
    width: 120,
  },
  86: {
    title: '转换系数',
    dataIndex: 'mdsUnitRate',
    width: 120,
  },
  87: {
    title: '到货确认数量（采购）',
    dataIndex: 'pmsReceiveQty',
    width: 150,
  },
  88: {
    title: '计量单位（采购）',
    dataIndex: 'pmsMdsUnitIdName',
    width: 150,
  },
  89: {
    title: '是否委托送试',
    dataIndex: 'tdmBusinessId',
    width: 120,
  },
  90: {
    title: '操作',
    dataIndex: 'operate',
    width: 220,
    slotName: 'operate',
    fixed: 'right',
  },
  91: {
    title: '到货流水号',
    dataIndex: 'billNo',
    width: 120,
  },
  92: {
    title: '退回原因',
    dataIndex: 'rejectReason',
    width: 120,
  },
  93: {
    title: '零组件图号',
    dataIndex: 'drawingCode',
    width: 120,
  },
  94: {
    title: '型号',
    dataIndex: 'marque',
    width: 120,
  },
  95: {
    title: '入厂复检规范',
    dataIndex: 'reviewCheckSpecs',
    width: 120,
  },
  96: {
    title: '试样编号',
    dataIndex: 'sampleNo',
    width: 120,
  },
  97: {
    title: '试样数量',
    dataIndex: 'sampleQty',
    width: 120,
  },
  98: {
    title: '试块数量',
    dataIndex: 'testBlocksQty',
    width: 120,
  },
  99: {
    title: '热处理批号',
    dataIndex: 'heatBatchNo',
    width: 120,
  },
  100: {
    title: '熔炼号',
    dataIndex: 'smeltingNo',
    width: 120,
  },
  101: {
    title: '锭节号',
    dataIndex: 'serialNo',
    width: 120,
  },
  102: {
    title: '装箱数量',
    dataIndex: 'qnit',
    width: 120,
  },
  103: {
    title: '质保条款',
    dataIndex: 'qaCl',
    width: 120,
  },
  104: {
    title: '制造商',
    dataIndex: 'manufacturer',
    width: 120,
  },
  105: {
    title: '紧急程度',
    dataIndex: 'urgencyDegreeName',
    width: 120,
  },
  106: {
    title: '复验期',
    dataIndex: 'recheckDate',
    width: 120,
  },
  107: {
    title: '下次油封期',
    dataIndex: 'oilSealDate',
    width: 120,
  },
  108: {
    title: '到货备注',
    dataIndex: 'arrivedRemark',
    width: 120,
  },
  109: {
    title: '材料状态',
    dataIndex: 'itemStateName',
    width: 120,
  },
  110: {
    title: '委托单号',
    dataIndex: 'tdmBusinessNo',
    width: 120,
  },
  111: {
    title: '委托状态',
    dataIndex: 'appState',
    width: 120,
  },
  112: {
    title: '到货确认数量',
    dataIndex: 'invReceiveQty',
    width: 120,
  },
  114: {
    title: '状态',
    dataIndex: 'statusName',
    width: 120,
  },
  113: {
    title: '操作',
    dataIndex: '113',
    width: 252,
    slotName: 'operate',
    fixed: 'right',
  },
  115: {
    title: '三期起始依据',
    dataIndex: 'calcBasis',
    width: 220,
  },
  116: {
    title: '有效期',
    dataIndex: 'storageDate',
    width: 220,
  },
  117: {
    title: '下次复验期',
    dataIndex: 'recheckDate',
    width: 220,
  },
  118: {
    title: '目的库房',
    dataIndex: 'mdsInventoryName',
    width: 220,
  },
  119: {
    title: '退回人',
    dataIndex: 'refuseManCode',
    width: 220,
  },
  120: {
    title: '退回日期',
    dataIndex: 'refuseDate',
    width: 220,
  },
};
